package com.ruoyi.kycinfo.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 kyc_family
 * 
 * @author ruoyi
 * @date 2023-10-13
 */
public class KycFamily extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 家庭成员表主键 */
    private Long familyId;

    /** 用户id */
    @Excel(name = "kyc用户id")
    private Long userInfoId;

    /** 家庭成员姓名 */
    @Excel(name = "家庭成员姓名")
    private String familyName;

    /** 关系 */
    @Excel(name = "关系")
    private String relationship;

    /** 职业 */
    @Excel(name = "职业")
    private String occupation;

    /** 职务 */
    @Excel(name = "职务")
    private String familyPost;

    /** 是否为我行客户：是/否 */
    @Excel(name = "是否为我行客户")
    private String myClient;

    /** 生日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date familyBirth;

    /** 爱好 */
    @Excel(name = "爱好")
    private String familyHobby;

    /** 家庭成员备注信息 */
    @Excel(name = "家庭成员备注信息")
    private String familyRemark;

    public void setFamilyId(Long familyId) 
    {
        this.familyId = familyId;
    }

    public Long getFamilyId() 
    {
        return familyId;
    }
    public void setUserInfoId(Long userInfoId)
    {
        this.userInfoId = userInfoId;
    }

    public Long getUserInfoId()
    {
        return userInfoId;
    }
    public void setFamilyName(String familyName) 
    {
        this.familyName = familyName;
    }

    public String getFamilyName() 
    {
        return familyName;
    }
    public void setRelationship(String relationship) 
    {
        this.relationship = relationship;
    }

    public String getRelationship() 
    {
        return relationship;
    }
    public void setOccupation(String occupation) 
    {
        this.occupation = occupation;
    }

    public String getOccupation() 
    {
        return occupation;
    }
    public void setFamilyPost(String familyPost) 
    {
        this.familyPost = familyPost;
    }

    public String getFamilyPost() 
    {
        return familyPost;
    }
    public void setMyClient(String myClient) 
    {
        this.myClient = myClient;
    }

    public String getMyClient() 
    {
        return myClient;
    }
    public void setFamilyBirth(Date familyBirth) 
    {
        this.familyBirth = familyBirth;
    }

    public Date getFamilyBirth() 
    {
        return familyBirth;
    }
    public void setFamilyHobby(String familyHobby) 
    {
        this.familyHobby = familyHobby;
    }

    public String getFamilyHobby() 
    {
        return familyHobby;
    }
    public void setFamilyRemark(String familyRemark) 
    {
        this.familyRemark = familyRemark;
    }

    public String getFamilyRemark() 
    {
        return familyRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("familyId", getFamilyId())
            .append("userInfoId", getUserInfoId())
            .append("familyName", getFamilyName())
            .append("relationship", getRelationship())
            .append("occupation", getOccupation())
            .append("familyPost", getFamilyPost())
            .append("myClient", getMyClient())
            .append("familyBirth", getFamilyBirth())
            .append("familyHobby", getFamilyHobby())
            .append("familyRemark", getFamilyRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
